Add a gtkscaleprivate.h header
authorMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 08:17:05 +0000 (03:17 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 08:17:05 +0000 (03:17 -0500)
gtk/Makefile.am
gtk/gtkscale.c
gtk/gtkscale.h
gtk/gtkscaleprivate.h [new file with mode: 0644]

index 366c7fec3ce79b5506a6254eff23f04343c13ed5..d799ed2d7244c37a9355e61922367b718fe45ea2 100644 (file)
@@ -417,6 +417,7 @@ gtk_private_h_sources =             \
        gtkrecentchooserdefault.h \
        gtkrecentchooserprivate.h \
        gtkrecentchooserutils.h \
+       gtkscaleprivate.h       \
        gtksearchengine.h       \
        gtksearchenginesimple.h \
        gtkselectionprivate.h   \
index f27bd65a9f0974c6b2b9b86568fc07f3ea3e8952..190f1b4ceb729a3da4b4bbab447ad7b89594550c 100644 (file)
@@ -30,7 +30,7 @@
 #include <math.h>
 #include <stdlib.h>
 
-#include "gtkscale.h"
+#include "gtkscaleprivate.h"
 #include "gtkiconfactory.h"
 #include "gtkicontheme.h"
 #include "gtkmarshalers.h"
index 9a585253b7f5e7309b5d68a5bfe1b4055aa54786..b0fb1313b26aa2c8bf8c9c275fb0bc133946254e 100644 (file)
@@ -105,13 +105,6 @@ void              gtk_scale_add_mark           (GtkScale        *scale,
                                                 const gchar     *markup);
 void              gtk_scale_clear_marks        (GtkScale        *scale);
 
-/* internal API */
-void              _gtk_scale_clear_layout      (GtkScale        *scale);
-void              _gtk_scale_get_value_size    (GtkScale        *scale,
-                                                gint            *width,
-                                                gint            *height);
-gchar           * _gtk_scale_format_value      (GtkScale        *scale,
-                                                gdouble          value);
 
 G_END_DECLS
 
diff --git a/gtk/gtkscaleprivate.h b/gtk/gtkscaleprivate.h
new file mode 100644 (file)
index 0000000..1306850
--- /dev/null
@@ -0,0 +1,38 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_SCALE_PRIVATE_H__
+#define __GTK_SCALE_PRIVATE_H__
+
+
+#include <gtk/gtkscale.h>
+
+
+G_BEGIN_DECLS
+
+void    _gtk_scale_clear_layout   (GtkScale *scale);
+void    _gtk_scale_get_value_size (GtkScale *scale,
+                                   gint     *width,
+                                   gint     *height);
+gchar * _gtk_scale_format_value   (GtkScale *scale,
+                                   gdouble   value);
+
+G_END_DECLS
+
+#endif /* __GTK_SCALE_PRIVATE_H__ */